import request from '@/utils/request'
export default class index {
  // 一起玩界面列表
  static getGamePages(params: any) {
    return request({
      url: "api/togethergame/list",
      method: "get",
      params,
    });
  }
  // 一起玩界面 新增/修改
  static setGamePages(data: any) {
    return request({
      url: "api/togethergame/add_update",
      method: "post",
      data,
    });
  }
  // 一起玩界面 删除
  static delGamePages(data: any) {
    return request({
      url: "api/togethergame/delete",
      method: "post",
      data,
    });
  }
  // 一起玩页面开关-查看原有数据信息
  static getGameOpeninfo() {
    return request({
      url: "api/togethergame/open",
      method: "get",
    });
  }
  // 一起玩页面开关-增加/修改
  static gameOpen(data: any) {
    return request({
      url: "api/togethergame/setopen",
      method: "post",
      data,
    });
  }
  // 一起玩--签到配置
  static setdaysign(data:any = {}) {
    return request({
      url: "api/togethergame/setdaysign",
      method: "post",
      data
    });
  }
  // 一起玩--签到列表
  static getdaysign() {
    return request({
      url: "api/togethergame/daysign",
      method: "get",
    });
  }
  // 流失召回--获取配置列表
  static act_mission_list(params:any = {}) {
    return request({
      url: "api/ddyy/act_mission_list",
      method: "get",
      params
    });
  }
  // 流失召回--添加活动配置
  static add_act_mission_config(data:any = {}) {
    return request({
      url: "api/ddyy/add_act_mission_config",
      method: "post",
      data
    });
  }
  // 流失召回--编辑活动配置
  static edit_act_mission(data:any = {}) {
    return request({
      url: "api/ddyy/edit_act_mission",
      method: "post",
      data
    });
  }
  // 流失召回--删除配置项
  static del_act_mission(data:any = {}) {
    return request({
      url: "api/ddyy/del_act_mission",
      method: "post",
      data
    });
  }
  // 流失召回--签到配置列表
  static sigin_list(params:any = {}) {
    return request({
      url: "api/ddyy/sigin_list",
      method: "get",
      params
    });
  }
  // 流失召回--新增签到配置
  static set_sigin_config(data:any = {}) {
    return request({
      url: "api/ddyy/set_sigin_config",
      method: "post",
      data
    });
  }
  // 流失召回--编辑签到配置
  static edit_sigin_config(data:any = {}) {
    return request({
      url: "api/ddyy/edit_sigin_config",
      method: "post",
      data
    });
  }
  // 流失召回--删除签到配置
  static del_sigin_config(data:any = {}) {
    return request({
      url: "api/ddyy/del_sigin_config",
      method: "post",
      data
    });
  }
  // 流失召回--累计任务列表
  static day_task_list(params:any = {}) {
    return request({
      url: "api/ddyy/day_task_list",
      method: "get",
      params
    });
  }
  // 流失召回--新增每日/累计任务
  static add_day_task(data:any = {}) {
    return request({
      url: "api/ddyy/add_day_task",
      method: "post",
      data
    });
  }
  // 流失召回--编辑每日/累计任务
  static edit_day_task(data:any = {}) {
    return request({
      url: "api/ddyy/edit_day_task",
      method: "post",
      data
    });
  }
  // 流失召回--删除每日/累计任务配置
  static del_day_task(data:any = {}) {
    return request({
      url: "api/ddyy/del_day_task",
      method: "post",
      data
    });
  }
  // 主播活动模板--活动列表
  static customList(params:any = {}) {
    return request({
      url: "api/customList",
      method: "get",
      params
    });
  }
  // 主播活动模板--创建活动
  static customAdd(data:any = {}) {
    return request({
      url: "api/customAdd",
      method: "post",
      data
    });
  }
  // 主播活动模板--编辑活动
  static customEdit(data:any = {}) {
    return request({
      url: "api/customEdit",
      method: "post",
      data
    });
  }
  // 主播活动模板--清空活动数据
  static customClear(data:any = {}) {
    return request({
      url: "api/customClear",
      method: "post",
      data
    });
  }
  // 主播活动模板--自定义活动榜单列表
  static customRankList(params:any = {}) {
    return request({
      url: "api/customRankList",
      method: "get",
      params
    });
  }
  // 主播活动模板--自定义活动榜单新增
  static customRankAdd(data:any = {}) {
    return request({
      url: "api/customRankAdd",
      method: "post",
      data
    });
  }
  // 主播活动模板--自定义活动榜单编辑
  static customRankEdit(data:any = {}) {
    return request({
      url: "api/customRankEdit",
      method: "post",
      data
    });
  }
  // 主播活动模板--自定义活动榜单删除
  static customRankDel(data:any = {}) {
    return request({
      url: "api/customRankDel",
      method: "post",
      data
    });
  }
  // 主播活动模板--自定义活动榜单奖励列表
  static customRankRewardList(params:any = {}) {
    return request({
      url: "api/customRankRewardList",
      method: "get",
      params
    });
  }
  // 主播活动模板--自定义活动榜单奖励新增
  static customRankRewardAdd(data:any = {}) {
    return request({
      url: "api/customRankRewardAdd",
      method: "post",
      data
    });
  }
  // 主播活动模板--自定义活动榜单奖励编辑
  static customRankRewardEdit(data:any = {}) {
    return request({
      url: "api/customRankRewardEdit",
      method: "post",
      data
    });
  }
  // 主播活动模板--自定义活动榜单奖励删除
  static customRankRewardDel(data:any = {}) {
    return request({
      url: "api/customRankRewardDel",
      method: "post",
      data
    });
  }
  // 主播活动模板--人气票配置
  static customTicketConfig(params:any = {}) {
    return request({
      url: "api/customTicketConfig",
      method: "get",
      params
    });
  }
  // 主播活动模板--人气票配置编辑
  static customTicketConfigEdit(data:any = {}) {
    return request({
      url: "api/customTicketConfigEdit",
      method: "post",
      data
    });
  }
  // 主播活动模板--获取游戏列表
  static customTicketGame(params:any = {}) {
    return request({
      url: "api/customTicketGame",
      method: "get",
      params
    });
  }
  // 主播活动模板--获取游戏分类
  static customTicketGameType(params:any = {}) {
    return request({
      url: "api/customTicketGameType",
      method: "get",
      params
    });
  }
  // 主播活动模板--新增游戏
  static customTicketGameAdd(data:any = {}) {
    return request({
      url: "api/customTicketGameAdd",
      method: "post",
      data
    });
  }
  // 主播活动模板--编辑游戏配置
  static customTicketGameEdit(data:any = {}) {
    return request({
      url: "api/customTicketGameEdit",
      method: "post",
      data
    });
  }
  // 主播活动模板--删除游戏
  static customTicketGameDel(data:any = {}) {
    return request({
      url: "api/customTicketGameDel",
      method: "post",
      data
    });
  }
  // 主播活动模板--规则列表
  static customRule(params:any = {}) {
    return request({
      url: "api/customRule",
      method: "get",
      params
    });
  }
  // 主播活动模板--新增活动规则
  static customRuleAdd(data:any = {}) {
    return request({
      url: "api/customRuleAdd",
      method: "post",
      data
    });
  }
  // 主播活动模板--编辑活动规则
  static customRuleEdit(data:any = {}) {
    return request({
      url: "api/customRuleEdit",
      method: "post",
      data
    });
  }
  // 主播活动模板--删除活动规则
  static customRuleDel(data:any = {}) {
    return request({
      url: "api/customRuleDel",
      method: "post",
      data
    });
  }
  // 主播活动模板--留言板审核列表
  static lybMessageList(params:any = {}) {
    return request({
      url: "api/statistics/lybList",
      method: "get",
      params
    });
  }
  // 主播活动模板--自定义活动留言板列表
  static customLybList(params:any = {}) {
    return request({
      url: "api/customLybList",
      method: "get",
      params
    });
  }
  // 主播活动模板--自定义活动留言板新增
  static customLybAdd(data:any = {}) {
    return request({
      url: "api/customLybAdd",
      method: "post",
      data
    });
  }
  // 主播活动模板--自定义活动留言板编辑
  static customLybEdit(data:any = {}) {
    return request({
      url: "api/customLybEdit",
      method: "post",
      data
    });
  }
  // 主播活动模板--盖楼配置列表
  static customBridgeList(params:any = {}) {
    return request({
      url: "api/customBridgeList",
      method: "get",
      params
    });
  }
  // 主播活动模板--新增盖楼配置
  static customBridgeAdd(data:any = {}) {
    return request({
      url: "api/customBridgeAdd",
      method: "post",
      data
    });
  }
  // 主播活动模板--编辑盖楼配置
  static customBridgeEdit(data:any = {}) {
    return request({
      url: "api/customBridgeEdit",
      method: "post",
      data
    });
  }
  // 主播活动模板--删除盖楼配置
  static customBridgeDel(data:any = {}) {
    return request({
      url: "api/customBridgeDel",
      method: "post",
      data
    });
  }
  // 主播活动模板--盖楼奖励配置列表
  static customBridgeAwardList(params:any = {}) {
    return request({
      url: "api/customBridgeAwardList",
      method: "get",
      params
    });
  }
  // 主播活动模板--新增盖楼奖励楼层配置
  static customBridgeAwardAdd(data:any = {}) {
    return request({
      url: "api/customBridgeAwardAdd",
      method: "post",
      data
    });
  }
  // 主播活动模板--编辑盖楼奖励楼层配置
  static customBridgeAwardEdit(data:any = {}) {
    return request({
      url: "api/customBridgeAwardEdit",
      method: "post",
      data
    });
  }
  // 主播活动模板--删除盖楼奖励配置
  static customBridgeAwardDel(data:any = {}) {
    return request({
      url: "api/customBridgeAwardDel",
      method: "post",
      data
    });
  }
  // 主播活动模板--累充任务列表
  static customRechargeList(params:any = {}) {
    return request({
      url: "api/customRechargeList",
      method: "get",
      params
    });
  }
  // 主播活动模板--充值任务新增
  static customRechargeAdd(data:any = {}) {
    return request({
      url: "api/customRechargeAdd",
      method: "post",
      data
    });
  }
  // 主播活动模板--充值任务编辑
  static customRechargeEdit(data:any = {}) {
    return request({
      url: "api/customRechargeEdit",
      method: "post",
      data
    });
  }
  // 主播活动模板--充值任务删除
  static customRechargeDel(data:any = {}) {
    return request({
      url: "api/customRechargeDel",
      method: "post",
      data
    });
  }
  // 红包雨列表
  static redPacketRainList(params:any = {}) {
    return request({
      url: "api/redPacketRainList",
      method: "get",
      params
    });
  }
  // 红包雨新增
  static redPacketRainAdd(data:any = {}) {
    return request({
      url: "api/redPacketRainAdd",
      method: "post",
      data
    });
  }
  // 红包雨编辑
  static redPacketRainEdit(data:any = {}) {
    return request({
      url: "api/redPacketRainEdit",
      method: "post",
      data
    });
  }
  // 红包雨删除
  static redPacketRainDel(data:any = {}) {
    return request({
      url: "api/redPacketRainDel",
      method: "post",
      data
    });
  }
  // 红包雨记录列表
  static redPacketRainLogList(params:any = {}) {
    return request({
      url: "api/redPacketRainLogList",
      method: "get",
      params
    });
  }

    // 愤怒的小鸟游戏配置获取
    static angerbirdGetConfig() {
        return request({
            url: 'api/angerbirdGetConfig',
            method: 'get',
        })
    }
    // 愤怒的小鸟配置修改
    static angerbirdUpdateConfig(data: any) {
        return request({
            url: 'api/angerbirdUpdateConfig',
            method: 'post',
            data
        })
    }
    // 愤怒的小鸟兑换商店列表
    static angerbirdGetShopList(params: any) {
        return request({
            url: 'api/angerbirdGetShopList',
            method: 'get',
            params
        })
    }
    // 愤怒的小鸟新增商店
    static angerbirdAddShop(data: any) {
        return request({
            url: 'api/angerbirdAddShop',
            method: 'post',
            data
        })
    }
    // 愤怒的小鸟修改商店
    static angerbirdUpdateShop(data: any) {
        return request({
            url: 'api/angerbirdUpdateShop',
            method: 'post',
            data
        })
    }
    // 愤怒的小鸟整体数据
    static angerbirdStatSearchAll(params: any) {
        return request({
            url: 'api/angerbirdStatSearchAll',
            method: 'get',
            params
        })
    }
    // 愤怒的小鸟单期数据
    static angerbirdStatGameEvery(params: any) {
        return request({
            url: 'api/angerbirdStatGameEvery',
            method: 'get',
            params
        })
    }
    // 愤怒的小鸟用户参与明细
    static angerbirdStatUserInfo(params: any) {
        return request({
            url: 'api/angerbirdStatUserInfo',
            method: 'get',
            params
        })
    }

    // 海底遗迹设置单次参与消耗数量
    static wishLuckSetNeedNum(data: any = {}) {
        return request({
            url: '/api/hopeLuckSetNeedNum',
            method: 'post',
            data
        })
    }
    // 海底遗迹设置档位参与次数
    static wishLuckSetDrawNum(data: any = {}) {
        return request({
            url: '/api/hopeLuckSetDrawNum',
            method: 'post',
            data,
        })
    }
    // 海底遗迹设置礼物池开启/关闭
    static wishLuckSetPoolStatus(data: any = {}) {
        return request({
            url: '/api/hopeLuckSetPoolStatus',
            method: 'post',
            data
        })
    }
    // 海底遗迹保存礼物池配置
    static wishLuckSavePoolConfig(data: any = {}) {
        return request({
            url: '/api/hopeLuckSavePoolConfig',
            method: 'post',
            data
        })
    }
    // 海底遗迹更新礼物池缓存
    static wishLuckPoolReset(data: any = {}) {
        return request({
            url: '/api/hopeLuckPoolReset',
            method: 'post',
            data
        })
    }
    // 海底遗迹新增礼物池
    static wishLuckAddPool(data: any = {}) {
        return request({
            url: '/api/hopeLuckAddPool',
            method: 'post',
            data
        })
    }
    // 海底遗迹编辑礼物池
    static wishLuckEditPool(data: any = {}) {
        return request({
            url: '/api/hopeLuckEditPool',
            method: 'post',
            data
        })
    }
    // 海底遗迹礼物池列表
    static wishLuckPoolList(params: any = {}) {
        return request({
            url: '/api/hopeLuckPoolList',
            method: 'get',
            params
        })
    }
    // 海底遗迹配置信息
    static wishLuckConfig(params: any = {}) {
        return request({
            url: '/api/hopeLuckConfig',
            method: 'get',
            params
        })
    }
    // 海底遗迹礼物池配置列表
    static wishLuckPoolConfigList(params: any = {}) {
        return request({
            url: '/api/hopeLuckPoolConfigList',
            method: 'get',
            params
        })
    }
    // 海底遗迹礼物池配置剩余数量
    static wishLuckPoolConfigNum(params: any = {}) {
        return request({
            url: '/api/hopeLuckPoolConfigNum',
            method: 'get',
            params
        })
    }
    // 海底遗迹新增白名单
    static wishLuckAddWhite(data: any = {}) {
        return request({
            url: '/api/hopeLuckAddWhite',
            method: 'post',
            data
        })
    }
    // 海底遗迹删除白名单
    static wishLuckDelWhite(data: any = {}) {
        return request({
            url: '/api/hopeLuckDelWhite',
            method: 'post',
            data
        })
    }
    // 海底遗迹白名单列表
    static wishLuckWhiteList(params: any = {}) {
        return request({
            url: '/api/hopeLuckWhiteList',
            method: 'get',
            params
        })
    }
    // 海底遗迹参与明细列表
    static wishLuckDrawList(params: any = {}) {
        return request({
            url: '/api/hopeLuckDrawList',
            method: 'get',
            params
        })
    }
    // 海底遗迹参与用户汇总数据
    static wishLuckUserStatistic(params: any = {}) {
        return request({
            url: '/api/hopeLuckUserStatistic',
            method: 'get',
            params
        })
    }
    // 海底遗迹参与每日统计
    static wishLuckDayStatistic(params: any = {}) {
        return request({
            url: '/api/hopeLuckDayStatistic',
            method: 'get',
            params
        })
    }
    // 海底遗迹奖品列表
    static wishLuckGiftList(params: any = {}) {
        return request({
            url: 'api/hopeLuckGiftList',
            method: 'get',
            params,
        })
    }
    // 海底遗迹新增展示礼物
    static wishLuckAddGift(data: any = {}) {
        return request({
            url: 'api/hopeLuckAddGift',
            method: 'post',
            data,
        })
    }
    // 海底遗迹删除展示礼物
    static wishLuckDelGift(data: any = {}) {
        return request({
            url: 'api/hopeLuckDelGift',
            method: 'post',
            data,
        })
    }
    // 海底遗迹新增礼物池白名单
    static wishLuckAddPoolWhite(data: any = {}) {
        return request({
            url: '/api/hopeLuckAddPoolWhite',
            method: 'post',
            data
        })
    }
    // 海底遗迹删除礼物池白名单
    static wishLuckDelPoolWhite(data: any = {}) {
        return request({
            url: '/api/hopeLuckDelPoolWhite',
            method: 'post',
            data
        })
    }
    // 海底遗迹取消投放礼物池白名单
    static wishLuckCancelPoolWhite(data: any = {}) {
        return request({
            url: '/api/hopeLuckCancelPoolWhite',
            method: 'post',
            data
        })
    }
    // 海底遗迹礼物池白名单列表
    static wishLuckPoolWhiteList(params: any = {}) {
        return request({
            url: '/api/hopeLuckPoolWhiteList',
            method: 'get',
            params
        })
    }
    // 海底遗迹礼物池已配置礼物列表
    static wishLuckPoolGift(params: any = {}) {
        return request({
            url: '/api/hopeLuckPoolGift',
            method: 'get',
            params
        })
    }
    // 海底遗迹新增个人池用户
    static wishLuckAddPoolUser(data: any = {}) {
        return request({
            url: '/api/hopeLuckAddPoolUser',
            method: 'post',
            data
        })
    }
    // 海底遗迹删除个人池用户
    static wishLuckDelPoolUser(data: any = {}) {
        return request({
            url: '/api/hopeLuckDelPoolUser',
            method: 'post',
            data
        })
    }
    // 海底遗迹个人池用户列表
    static wishLuckPoolUserList(params: any = {}) {
        return request({
            url: '/api/hopeLuckPoolUserList',
            method: 'get',
            params
        })
    }
    // 海底遗迹查看个人礼物池剩余数
    static wishLuckPoolSelfConfigNum(data: any = {}) {
        return request({
            url: '/api/hopeLuckPoolSelfConfigNum',
            method: 'post',
            data
        })
    }
    // 海底遗迹礼物池列表
    static wishLuckUserPoolList(params: any = {}) {
        return request({
            url: '/api/hopeLuckUserPoolList',
            method: 'get',
            params
        })
    }
    // 海底遗迹礼物池更新阀值
    static wishLuckSetUserPoolConfig(data: any = {}) {
        return request({
            url: '/api/hopeLuckSetUserPoolConfig',
            method: 'post',
            data
        })
    }
    // 海底遗迹个人池汇总数据
    static wishLuckUserPoolStat(params: any = {}) {
        return request({
            url: '/api/hopeLuckUserPoolStat',
            method: 'get',
            params
        })
    }
    // 海底遗迹-获取玩法配置
    static wishLuckPoolConfigChildList(params: any = {}) {
        return request({
            url: '/api/hopeLuckPoolConfigChildList',
            method: 'get',
            params
        })
    }
    // 海底遗迹-新增玩法配置
    static wishLuckPoolConfigChildAdd(data: any = {}) {
        return request({
            url: '/api/hopeLuckPoolConfigChildAdd',
            method: 'post',
            data
        })
    }
    // 海底遗迹-编辑玩法配置
    static wishLuckPoolConfigChildEdit(data: any = {}) {
        return request({
            url: '/api/hopeLuckPoolConfigChildEdit',
            method: 'post',
            data
        })
    }
    // 海底遗迹-删除特殊玩法配置
    static wishLuckPoolConfigChildDel(data: any = {}) {
        return request({
            url: '/api/hopeLuckPoolConfigChildDel',
            method: 'post',
            data
        })
    }
    /* 海底遗迹-查看投入展示礼物信息 */
    static getWishLuckExGiftList(params: any = {}) {
        return request({
            url: '/api/getHopeLuckExGiftList',
            method: 'get',
            params
        })
    }
    /* 海底遗迹-新增/修改投入展示礼物 */
    static addWishLuckExGiftList(data: any = {}) {
        return request({
            url: '/api/addHopeLuckExGiftList',
            method: 'post',
            data
        })
    }
    /* 海底遗迹-新增许愿转盘投入礼物池礼物配置 */
    static addLuckExGiftForPool(data: any = {}) {
        return request({
            url: '/api/addHopeExGiftForPool',
            method: 'post',
            data
        })
    }
    /* 海底遗迹-查看投入记录 */
    static getLuckExGiftForPoolList(params: any = {}) {
        return request({
            url: '/api/getHopeExGiftForPoolList',
            method: 'get',
            params
        })
    }
}
